import bcrypt from 'bcryptjs';

export const hashValue = async (value, salt = 14) => await bcrypt.hash(value, salt);
export const compareValue = async (value, hashedValue) => await bcrypt.compare(value, hashedValue);
